[INFO] cloning repository https://github.com/KingOfDog/rraytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KingOfDog/rraytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2edd7a0c6bf64ae0a6d00ed55333283b8010856f
[INFO] fixing KingOfDog/rraytracer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KingOfDog/rraytracer
[INFO] finished tweaking git repo https://github.com/KingOfDog/rraytracer
[INFO] tweaked toml for git repo https://github.com/KingOfDog/rraytracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KingOfDog/rraytracer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KingOfDog/rraytracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6
[INFO] running `Command { std: "docker" "start" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling drm-sys v0.6.1
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking xkeysym v0.2.0
[INFO] [stderr]    Compiling drm-fourcc v2.2.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking linux-raw-sys v0.6.4
[INFO] [stderr]     Checking cursor-icon v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling cfg_aliases v0.2.0
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]     Checking x11rb-protocol v0.13.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]    Compiling softbuffer v0.4.2
[INFO] [stderr]     Checking raw-window-handle v0.6.1
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling wayland-sys v0.31.1
[INFO] [stderr]    Compiling quick-xml v0.31.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling wayland-backend v0.3.3
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking tobj v4.0.2
[INFO] [stderr]    Compiling wayland-scanner v0.31.1
[INFO] [stderr]     Checking owned_ttf_parser v0.20.0
[INFO] [stderr]     Checking ab_glyph v0.2.25
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling ctor v0.2.8
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]     Checking tiny-xlib v0.2.2
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking polling v3.7.0
[INFO] [stderr]     Checking drm-ffi v0.7.1
[INFO] [stderr]     Checking drm v0.11.1
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking wayland-client v0.31.2
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking wayland-cursor v0.31.1
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking x11rb v0.13.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking sctk-adwaita v0.8.1
[INFO] [stderr]     Checking rust_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/camera.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/camera.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for light in unsafe { OBJECT_STORE.lights_mut() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/light.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |         unsafe { OBJECT_STORE.read_scene(width, height) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |         unsafe { OBJECT_STORE.camera.calculate_first_ray() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |         unsafe { OBJECT_STORE.camera.trace() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             OBJECT_STORE.camera.resize(width, height);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/camera.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/camera.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for light in unsafe { OBJECT_STORE.lights_mut() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/light.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |         unsafe { OBJECT_STORE.read_scene(width, height) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |         unsafe { OBJECT_STORE.camera.calculate_first_ray() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |         unsafe { OBJECT_STORE.camera.trace() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             OBJECT_STORE.camera.resize(width, height);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.93s
[INFO] [stderr] crater-edition-check: rust_tracer v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking rust_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vec3`
[INFO] [stdout]  --> src/object_store.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use glam::{vec3, Vec3};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sphere::Sphere`
[INFO] [stdout]  --> src/object_store.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     object::{sphere::Sphere, triangle::Triangle, Object},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec3`
[INFO] [stdout]  --> src/object_store.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use glam::{vec3, Vec3};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sphere::Sphere`
[INFO] [stdout]  --> src/object_store.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     object::{sphere::Sphere, triangle::Triangle, Object},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]   --> src/object_store.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let normals = mesh
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `near` and `far` are never read
[INFO] [stdout]   --> src/camera.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub near: f32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub far: f32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/sphere.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(center: Vec3, radius: f32, material: SurfaceMaterial) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/camera.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normals`
[INFO] [stdout]   --> src/object_store.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let normals = mesh
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/camera.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for light in unsafe { OBJECT_STORE.lights_mut() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/light.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |         unsafe { OBJECT_STORE.read_scene(width, height) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |         unsafe { OBJECT_STORE.camera.calculate_first_ray() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |         unsafe { OBJECT_STORE.camera.trace() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             OBJECT_STORE.camera.resize(width, height);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `near` and `far` are never read
[INFO] [stdout]   --> src/camera.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub near: f32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub far: f32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/object/sphere.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(center: Vec3, radius: f32, material: SurfaceMaterial) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/camera.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/camera.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |         for light in unsafe { OBJECT_STORE.lights_mut() } {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/object_store.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout]  12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]  12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/light.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for object in unsafe { OBJECT_STORE.objects() } {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:7:18
[INFO] [stdout]    |
[INFO] [stdout]  7 |         unsafe { OBJECT_STORE.read_scene(width, height) };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |         unsafe { OBJECT_STORE.camera.calculate_first_ray() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |         unsafe { OBJECT_STORE.camera.trace() };
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/raytracer.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             OBJECT_STORE.camera.resize(width, height);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/object_store.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub static mut OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout] 12 + pub static OBJECT_STORE: Lazy<ObjectStore> = Lazy::new(|| ObjectStore::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_tracer` (bin "rust_tracer") due to 8 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_tracer` (bin "rust_tracer" test) due to 8 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6", kill_on_drop: false }`
[INFO] [stdout] 16d0c4fc314550a5d4ebf0cbec365d2404dc3351cdb31135ee1d0cee2a16b0e6
